package com.zggk.iroad.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "t_lx")
public class LxInfo {
    @Property(nameInDb = "id")//通过@Property()这个注解定义我外部数据库的字段名才能解决
    @Id(autoincrement = true)
    private Long id;
    private String LXID;//路线ID
    private String LXMC;//路线名称
    @Generated(hash = 742453161)
    public LxInfo(Long id, String LXID, String LXMC) {
        this.id = id;
        this.LXID = LXID;
        this.LXMC = LXMC;
    }
    @Generated(hash = 1207664123)
    public LxInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getLXID() {
        return this.LXID;
    }
    public void setLXID(String LXID) {
        this.LXID = LXID;
    }
    public String getLXMC() {
        return this.LXMC;
    }
    public void setLXMC(String LXMC) {
        this.LXMC = LXMC;
    }
}
